using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Wrath.RuleForge.Common
{
    public partial class StringEntry : Form
    {
        public string TextEntry { get { return textBox.Text; } set { textBox.Text = value; } }
        public string TextPrompt { set { groupBox.Text = value; } }

        public StringEntry()
        {
            InitializeComponent();
        }

        private void buttonOK_Click(object sender, EventArgs e)
        {
            DialogResult = DialogResult.OK;
            Close();
        }

        private void buttonCancel_Click(object sender, EventArgs e)
        {
            DialogResult = DialogResult.Cancel;
            Close();
        }
    }
}